<?php
/**
 * 数据库备份
 * @author maniac
 */
namespace app\manage\controller;

class Dump extends Base
{
    /**
     * 备份数据
     */
    public function save()
    {
        $app_path = str_replace("\\", "/", \think\Facade\Env::get('app_path'));
        return $this->fetch('', [
            'app_path' => $app_path,
        ]);
    }
}
